// GStationView.h : interface of the CGStationView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_GSTATIONVIEW_H__DE98B867_A6E1_43F4_A299_798DBC96E17C__INCLUDED_)
#define AFX_GSTATIONVIEW_H__DE98B867_A6E1_43F4_A299_798DBC96E17C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CGStationView : public CFormView
{
protected: // create from serialization only
	CGStationView();
	DECLARE_DYNCREATE(CGStationView)

public:
	//{{AFX_DATA(CGStationView)
	enum { IDD = IDD_GSTATION_FORM };
	CButton	m_dgps_btn;
	CButton	m_init_com_btn;
	CButton	m_ForceStart;
	CButton	m_NormalStart;
	CString	m_Error_list;
	int		m_serial_com;
	UINT	m_dgps_com;
	CString	m_dgps_show;
	//}}AFX_DATA

// Attributes
public:
	CGStationDoc* GetDocument();

// Operations
public:
	bool dgps_state;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGStationView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGStationView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CGStationView)
	afx_msg void OnNotifyAll();
	afx_msg void OnDestroy();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnStartNormal();
	afx_msg void OnStartForce();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton9();
	afx_msg void OnButton10();
	afx_msg void OnButton7();
	afx_msg void OnButton14();
	afx_msg void OnButton11();
	afx_msg void OnButton12();
	afx_msg void OnButton8();
	afx_msg void OnButton13();
	afx_msg void OnButton5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in GStationView.cpp
inline CGStationDoc* CGStationView::GetDocument()
   { return (CGStationDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GSTATIONVIEW_H__DE98B867_A6E1_43F4_A299_798DBC96E17C__INCLUDED_)
